<template>
  <div class="home" style="margin: 0 auto">
     <h1 >首页</h1>
  </div>
</template>

<script>
// @ is an alias to /src


export default {
  name: 'Home',
  components: {
  },
  beforeCreate(){
    // 添加背景色
    document.querySelector('body').setAttribute('style', 'background-color: #ffffff')
  },
  beforeDestroy(){
    document.querySelector('body').setAttribute('style', '')
  },
}
</script>
<style>

</style>
